From: Siebrand Mazeland Date: Mon, 27 Aug 2012 23:38:19 +0000 (+0200) Subject: Use numParams() where possible. X-Git-Tag: 1.31.0-rc.0~22575^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=07e61e09ab63b7b27ba6cb08aa03490aef27baa0;p=lhc%2Fweb%2Fwiklou.git Use numParams() where possible. Change-Id: I2ba4fb7dad599ccd04fe69ab033ff72c1bacfe3e --- diff --git a/includes/Skin.php b/includes/Skin.php index 5af6aec660..0ab46aea89 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -437,7 +437,7 @@ abstract class Skin extends ContextSource { if ( !empty( $allCats['normal'] ) ) { $t = $embed . implode( "{$pop}{$embed}" , $allCats['normal'] ) . $pop; - $msg = $this->msg( 'pagecategories', count( $allCats['normal'] ) )->escaped(); + $msg = $this->msg( 'pagecategories' )->numParams( count( $allCats['normal'] ) )->escaped(); $linkPage = wfMessage( 'pagecategorieslink' )->inContentLanguage()->text(); $s .= '